import * as reg from './regular'
import Enum from './Enum'
import RouterName from './RouterName'
import ChatType from "./ChatType"
import NotifyType from "./NotifyType"
import GenderType from "@/const/GenderType"
import CommonStatus from "@/const/CommonStatus"
import HomeType from "@/const/HomeType"
import UploadType from "@/const/UploadType"
import CommonStatusEnum from "@/const/CommonStatusEnum"
import ReportType from "@/const/ReportType"

export default class Constants extends GenderType {
  public static minute: number = 60 * 1000
  public static hour: number = 60 * Constants.minute
  public static readonly sexList: Array<Enum> = [new Enum('boy', '男'), new Enum('girl', '女')]
  public static readonly simpleDate: string = 'YYYY-MM-DD'
  public static readonly regNotNum: RegExp = reg.regNotNum
  public static readonly routerName: typeof RouterName = RouterName
  public static readonly commonStatus: typeof CommonStatus = CommonStatus
  public static readonly commonStatusEnum: typeof CommonStatusEnum = CommonStatusEnum
  public static readonly homeType: typeof HomeType = HomeType
  public static readonly uploadType: typeof UploadType = UploadType
  public static readonly chatType: typeof ChatType = ChatType
  public static readonly notifyType: typeof NotifyType = NotifyType
  public static readonly reportType: typeof ReportType = ReportType
}

